﻿using CI.Mesopotamia;
using NUnit.Framework;

namespace Mesopotamia.SystemTests
{
    [TestFixture]
    public class ScenarioFactoryTests
    {
        private ScenarioFactory _scenarioFactory;

        [SetUp]
        public void Setup()
        {
            _scenarioFactory = new ScenarioFactory();
        }

        [Test]
        public void GetPreferredScenarioNameFromLocalResources_FilesFound_NotNullOrEmpty()
        {
            Assert.IsNotNullOrEmpty(_scenarioFactory.GetPreferredScenarioNameFromLocalResources());
        }

        [Test]
        public void GetPreferredScenarioNameFromGrid_NameRecievedFound_NotNullOrEmpty()
        {
            Assert.IsNotNullOrEmpty(_scenarioFactory.GetPreferredScenarioName());
        }
    }
}